package com.study.d2_reflect;

//目标：使用反射技术，设计一个保存对象的简易版框架
public class Test5Frame {
    public static void main(String[] args) throws Exception {
        Student s = new Student("hh", 15, '女', 175.3);
        Teacher t = new Teacher("hb", 5000.5);
        ObjectFrame.saveObject(s);
        ObjectFrame.saveObject(t);
    }

}
